import requests from "@/utils/request";

// 查询所有仓库信息
export function SelectAllStore(){
    return requests({
        url: '/wStore/selectAll',
        method: 'get',
    })
}
// 新增仓库信息
export function AddWStore(param){
    return requests({
        url: '/wStore/addWStore',
        method: 'post',
        data: param,
    })
}
// 根据id删除仓库信息
export function DeleteWStore(param){
    return requests({
        url: '/wStore/'+param,
        method: 'delete',
    })
}
// 修改仓库信息
export function UpdateWStore(param){
    return requests({
        url: '/wStore/updateWStore',
        method: 'put',
        data: param,
    })
}
